<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
<style>
    *{
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    .father{
        display: flex;
        justify-content: center;
    }
    .box1{
        position: relative;
        height: 400px;
        width: 600px;
        background-color: aquamarine;
        
    }
    
    .next{
        height: 60px;
        width: 30px;
        position: absolute;
        top: 50%;
        right: 0;
        margin-top: -30px;
        background-color: bisque;

    }
    .prev{
        height: 60px;
        width: 30px;
        position: absolute;
        top: 50%;
        left: 0;
        margin-top: -30px;
        background-color: bisque;

    }


</style>
</head>
<body>
<div class="father">
    <div class="box1">
        <a href="#" class="prev"></a>
        <a href="#" class="next"></a>
    </div>
</div>
</body>
</html>